import React from 'react';
import { HashRouter, Route, Switch } from 'react-router-dom';
import Index from '../views/index';
import Login from '../views/login';
const Router = () => (
    <HashRouter>
        <Switch>
            <Route exact path="/login" component={Login} />
            <Route path='/' component={Index} />
        </Switch>
    </HashRouter>
);
export default Router